#!/bin/bash
mkdir build

cd build

rm * -rf
make clean

cmake -B cross -DTARGET_PLATFORM=debian ..
cmake -DTARGET_PLATFORM=pc ..

make -j$(nproc)
chmod 777 a010_app

cd cross
make -j$(nproc)
chmod 777 a010_app
